home *** CD-ROM | disk | FTP | other *** search
- on restoreIcons
- global IconCount, spriteList, Hand
- if IconCount < 1 then
- if IconCount < 0 then
- set IconCount to 0
- end if
- exit
- else
- if count(spriteList) < 1 then
- exit
- end if
- end if
- set limit to count(spriteList) + 33
- set counter to 0
- repeat with i = 33 to limit - 1
- puppetSprite(i, 1)
- if the castNum of sprite i = 600 then
- set icon to getAt(spriteList, counter + 1)
- set the castNum of sprite i to icon
- set the moveableSprite of sprite i to 1
- set the locV of sprite i to 455
- set the locH of sprite i to 615 - (counter * 48)
- set the cursor of sprite i to Hand
- set counter to counter + 1
- updateStage()
- end if
- end repeat
- end
-